package com.zzc.mapper;

import com.zzc.pojo.AppInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AppInfo record);

    int insertSelective(AppInfo record);

    AppInfo selectByPrimaryKey(Integer id);
    AppInfo getAppInfoByCusId(Integer cusId);

    int updateByPrimaryKeySelective(AppInfo record);

    int updateByPrimaryKey(AppInfo record);

    /**
     * 动态查询全部ApiInfo
     * @param corpName
     * @return
     */
    List<AppInfo> getAppInfoList(@Param("corpName") String corpName);
}